package cn.net.service;

import cn.net.model.CacheDataObject;
import cn.net.netmodel.RequestParams;
import cn.net.pojo.TT;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;

@Service
public class TtService {
    @Autowired
    private TT tt;

    @GetMapping("tt")
    public CacheDataObject getTTCdo(RequestParams params){
        CacheDataObject cdo = tt.TTSearch(params);
        return cdo;
    }
}
